def test():
	while True:
		yield "haha"



a = test()

for i in range(10):
	print a.next()